Skip to content

fix: safely integrate design-audit remediations#859

Merged
BigSimmo merged 5 commits into
mainfrom
codex/main-merge-51278-final-20260718-late
Jul 18, 2026
Merged

fix: safely integrate design-audit remediations#859
BigSimmo merged 5 commits into
mainfrom
codex/main-merge-51278-final-20260718-late

Conversation

@BigSimmo

@BigSimmo BigSimmo commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • Safely replayed the requested 51278a70d design-audit remediations onto fresh origin/main in an isolated worktree.
  • Resolved overlapping conflicts with current-main schema and runtime behavior preserved.
  • Corrected the resulting sitemap-generator duplication and removed stale duplicate test expectations.

Verification

  • git diff --check
  • npm run sitemap:check
  • Verification not run: npm run test was blocked by the repository-wide heavyweight lock held by a separate worktree Playwright run; this PR's Unit coverage check is required before merge.
  • UI verification not run: npm run verify:ui was not run locally because the shared heavyweight slot was occupied; this PR's Production UI check is required before merge.

Risk and rollout

  • Risk: low; the effective change preserves current runtime behavior and corrects merge-introduced generator/test configuration defects.
  • Rollback: revert this PR's three commits to return exactly to the pre-integration main state.
  • Provider or production effects: No provider, Supabase, OpenAI, deployment, or production mutation was performed.

Summary by CodeRabbit

  • Bug Fixes

    • Improved handling and coverage for public redirects, including clearer separation from API routes.
    • Preserved sitemap validation and Clinical Guide interface behavior during integration.
  • Documentation

    • Added a review record documenting historical integration work, conflict resolutions, and validation results.
  • Tests

    • Updated redirect test descriptions to accurately reflect expected sitemap and API-route behavior.

@coderabbitai

coderabbitai Bot commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 4ab4ab07-35f2-4fa4-b838-fc0a54ed296b

📥 Commits

Reviewing files that changed from the base of the PR and between 18872f7 and 72aac0b.

📒 Files selected for processing (1)
  • tests/site-map.test.ts
🚧 Files skipped from review as they are similar to previous changes (1)
  • tests/site-map.test.ts

📝 Walkthrough

Walkthrough

The PR updates sitemap redirect test wording and adds a dated branch review ledger entry documenting historical commit replay, conflict resolutions, applied fixes, and validation results.

Changes

Sitemap review record

Layer / File(s) Summary
Sitemap redirect test wording
tests/site-map.test.ts
The redirect-separation test description now states that public redirect handlers are excluded from API routes while their redirects are recorded.
Branch review ledger entry
docs/branch-review-ledger.md
A 2026-07-18 entry records the historical commit replay, preserved conflict resolutions, applied sitemap and UI fixes, and check outcomes.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Possibly related PRs

Suggested labels: codex

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly matches the main change: safely replaying design-audit remediations onto fresh main.
Description check ✅ Passed The PR description covers summary, verification, and risk/rollback, matching the required template closely.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/main-merge-51278-final-20260718-late

Comment @coderabbitai help to get the list of available commands.

@supabase

supabase Bot commented Jul 18, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project sjrfecxgysukkwxsowpy because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@github-actions

github-actions Bot commented Jul 18, 2026

Copy link
Copy Markdown

CI triage

CI failed on this PR. Automated classification of the 6 failed job(s):

  • Buildneeds investigation: inspect the failing step and uploaded diagnostics; rerun only after classifying the cause.
  • Advisory UIneeds investigation: inspect the failing step and uploaded diagnostics; rerun only after classifying the cause.
  • Static PR checksneeds investigation: inspect the failing step and uploaded diagnostics; rerun only after classifying the cause.
  • Unit coverageneeds investigation: inspect the failing step and uploaded diagnostics; rerun only after classifying the cause.
  • Production UIneeds investigation: inspect the failing step and uploaded diagnostics; rerun only after classifying the cause.
  • PR requiredneeds investigation: inspect the failing step and uploaded diagnostics; rerun only after classifying the cause.

Compared with main CI run #3291 (success).

Classification is evidence routing, not permission to ignore a failure. Exact quarantined Playwright identities remain governed by the flake ledger.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1d8b0617ca

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/app/page.tsx
Comment thread tests/site-map.test.ts
@BigSimmo

Copy link
Copy Markdown
Owner Author

@codex resolve actionable Codex review findings for this pull request and current head using the repository instructions. This is the pull request's single automatic repair pass: do not perform a fresh review, create new standalone findings, or request another review. Work only the existing unresolved Codex threads on the current head. Always fix P0 and P1 findings. For P2 and lower findings, fix only clear, scoped, low-risk issues; otherwise disposition them with a concise reason. After fixing or dispositioning a thread, reply in that thread with as the first line, followed by a concise summary; that marker authorizes the workflow to close that exact thread. If human input or new authorization is required, do not use the marker and leave the thread open with the blocker. Finish only after every actionable thread is fixed or dispositioned and closed, or explicitly left open for a human decision. Do not update the branch from main, address unrelated reviews, broaden scope, or create more than one scoped fix commit. Do not use external APIs, paid services, credentials, dependency changes, or broad refactors unless explicitly authorized. Add targeted tests where behavior changes and run the narrowest relevant validation.

@BigSimmo
BigSimmo enabled auto-merge (squash) July 18, 2026 13:32
@BigSimmo
BigSimmo merged commit 2f5b22a into main Jul 18, 2026
20 checks passed
@BigSimmo
BigSimmo deleted the codex/main-merge-51278-final-20260718-late branch July 18, 2026 13:35
cursor Bot pushed a commit that referenced this pull request Jul 18, 2026
Keep the forms Refine gating fix on top of the merged sitemap/ledger
remediation so #858 can fast-forward merge cleanly.

Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant